﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.MaterialGlobalIlluminationFlags
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System;

#nullable disable
namespace UnityEngine
{
  /// <summary>
  ///   <para>How the material interacts with lightmaps and lightprobes.</para>
  /// </summary>
  [Flags]
  public enum MaterialGlobalIlluminationFlags
  {
    /// <summary>
    ///   <para>The emissive lighting does not affect Global Illumination at all.</para>
    /// </summary>
    None = 0,
    /// <summary>
    ///   <para>The emissive lighting will affect Enlighten Realtime Global Illumination. It emits lighting into real-time lightmaps and real-time Light Probes.</para>
    /// </summary>
    RealtimeEmissive = 1,
    /// <summary>
    ///   <para>The emissive lighting affects baked Global Illumination. It emits lighting into baked lightmaps and baked lightprobes.</para>
    /// </summary>
    BakedEmissive = 2,
    /// <summary>
    ///   <para>The emissive lighting is guaranteed to be black. This lets the lightmapping system know that it doesn't have to extract emissive lighting information from the material and can simply assume it is completely black.</para>
    /// </summary>
    EmissiveIsBlack = 4,
    /// <summary>
    ///   <para>Helper Mask to be used to query the enum only based on whether Enlighten Realtime Global Illumination or baked GI is set, ignoring all other bits.</para>
    /// </summary>
    AnyEmissive = BakedEmissive | RealtimeEmissive, // 0x00000003
  }
}
